/**
 * jims
 */
package com.jims.master.modules.doctor.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jims.master.common.persistence.DataEntity;
import org.hibernate.validator.constraints.Length;

import java.util.Date;

/**
 * Entity
 * @author 陈涛
 * @version 2017-03-16
 */
public class ClinicRecord extends DataEntity<ClinicRecord> {
	
	private static final long serialVersionUID = 1L;
	private String clinicId;		// 就诊记录ID
	private String patientId;		// 病人信息Id
	private String zhusu;		// 主诉
	private String xianbingshi;		// 现病史
	private String jiwangshi;		// 既往史
	private String gerenshi;		// 个人史
	private String hunyushi;		// 婚育史
	private String jiazushi;		// 家族史
	private String yuejingshi;		// 月经史
	private String allergyHistory;	//过敏史
	private String drugAllergyHistory;	//过敏史
	private String fabinghouqingkuang;		// 发表后一般情况
	private String tiwen;		// 体温
	private String maibo;		// 脉搏
	private String huxi;		// 呼吸
	private String xueya;		// 血压
	private String bingshichenshuzhe;		// 病史陈述者
	private String tigejiancha;		// 体格检查
	private String fuzhujiancha;    //辅助检查
	private String xiaojiefenxi;		// 小结分析
	private Date bingshicaijiriqi;		// 病史采集日期
	private String orgId;		// 机构ID
	private String dispose;		//处理
	private String suggestion;	//建议

	public String getFuzhujiancha() {
		return fuzhujiancha;
	}

	public void setFuzhujiancha(String fuzhujiancha) {
		this.fuzhujiancha = fuzhujiancha;
	}

	public ClinicRecord() {
		super();
	}

	public ClinicRecord(String id){
		super(id);
	}

	@Length(min=1, max=64, message="就诊记录ID长度必须介于 1 和 64 之间")
	public String getClinicId() {
		return clinicId;
	}

	public void setClinicId(String clinicId) {
		this.clinicId = clinicId;
	}
	
	@Length(min=1, max=64, message="病人信息Id长度必须介于 1 和 64 之间")
	public String getPatientId() {
		return patientId;
	}

	public void setPatientId(String patientId) {
		this.patientId = patientId;
	}
	
	public String getZhusu() {
		return zhusu;
	}

	public void setZhusu(String zhusu) {
		this.zhusu = zhusu;
	}
	
	public String getXianbingshi() {
		return xianbingshi;
	}

	public void setXianbingshi(String xianbingshi) {
		this.xianbingshi = xianbingshi;
	}
	
	public String getJiwangshi() {
		return jiwangshi;
	}

	public void setJiwangshi(String jiwangshi) {
		this.jiwangshi = jiwangshi;
	}
	
	public String getGerenshi() {
		return gerenshi;
	}

	public void setGerenshi(String gerenshi) {
		this.gerenshi = gerenshi;
	}
	
	public String getHunyushi() {
		return hunyushi;
	}

	public String getDrugAllergyHistory() {
		return drugAllergyHistory;
	}

	public void setDrugAllergyHistory(String drugAllergyHistory) {
		this.drugAllergyHistory = drugAllergyHistory;
	}


	public void setHunyushi(String hunyushi) {
		this.hunyushi = hunyushi;
	}
	
	public String getJiazushi() {
		return jiazushi;
	}

	public void setJiazushi(String jiazushi) {
		this.jiazushi = jiazushi;
	}
	
	public String getYuejingshi() {
		return yuejingshi;
	}

	public void setYuejingshi(String yuejingshi) {
		this.yuejingshi = yuejingshi;
	}

	public String getAllergyHistory() {
		return allergyHistory;
	}

	public void setAllergyHistory(String allergyHistory) {
		this.allergyHistory = allergyHistory;
	}

	public String getFabinghouqingkuang() {
		return fabinghouqingkuang;
	}

	public void setFabinghouqingkuang(String fabinghouqingkuang) {
		this.fabinghouqingkuang = fabinghouqingkuang;
	}
	
	@Length(min=0, max=200, message="体温长度必须介于 0 和 200 之间")
	public String getTiwen() {
		return tiwen;
	}

	public void setTiwen(String tiwen) {
		this.tiwen = tiwen;
	}
	
	@Length(min=0, max=200, message="脉搏长度必须介于 0 和 200 之间")
	public String getMaibo() {
		return maibo;
	}

	public void setMaibo(String maibo) {
		this.maibo = maibo;
	}
	
	@Length(min=0, max=200, message="呼吸长度必须介于 0 和 200 之间")
	public String getHuxi() {
		return huxi;
	}

	public void setHuxi(String huxi) {
		this.huxi = huxi;
	}
	
	@Length(min=0, max=200, message="血压长度必须介于 0 和 200 之间")
	public String getXueya() {
		return xueya;
	}

	public void setXueya(String xueya) {
		this.xueya = xueya;
	}
	
	@Length(min=0, max=200, message="病史陈述者长度必须介于 0 和 200 之间")
	public String getBingshichenshuzhe() {
		return bingshichenshuzhe;
	}

	public void setBingshichenshuzhe(String bingshichenshuzhe) {
		this.bingshichenshuzhe = bingshichenshuzhe;
	}
	
	public String getTigejiancha() {
		return tigejiancha;
	}

	public void setTigejiancha(String tigejiancha) {
		this.tigejiancha = tigejiancha;
	}
	
	public String getXiaojiefenxi() {
		return xiaojiefenxi;
	}

	public void setXiaojiefenxi(String xiaojiefenxi) {
		this.xiaojiefenxi = xiaojiefenxi;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getBingshicaijiriqi() {
		return bingshicaijiriqi;
	}

	public void setBingshicaijiriqi(Date bingshicaijiriqi) {
		this.bingshicaijiriqi = bingshicaijiriqi;
	}
	
	@Length(min=1, max=64, message="机构ID长度必须介于 1 和 64 之间")
	public String getOrgId() {
		return orgId;
	}

	public void setOrgId(String orgId) {
		this.orgId = orgId;
	}

	public String getDispose() {
		return dispose;
	}

	public void setDispose(String dispose) {
		this.dispose = dispose;
	}

	public String getSuggestion() {
		return suggestion;
	}

	public void setSuggestion(String suggestion) {
		this.suggestion = suggestion;
	}
}